﻿using Extensions;
using System;

namespace ConfOrder.Reports
{
    public partial class Delivery : XForm
    {
        public Delivery()
        {
            InitializeComponent();
        }

        private void R2Delivery_Load(object sender, EventArgs e)
        {
            gv.Init("GetR2Delivery");

            gv.FormatAsNumber(0, "Qty");
            gv.AddSummary("Qty");
            gv.FormatAsDate("ETD");
            gv.SetFilterTypeToCheckedList("OrderRef", "Pos");
            gv.MakeReadOnly();
            gv.BestFitColumns();
            gv.OptionsView.EnableAppearanceOddRow = true;
        }
    }
}